
{% extends "base.html" %}

{% block title %}子页面{% endblock %}

{% block content %}
    <h2 style="color: green;">这是子模板内容</h2>
    <p>继承自base.html的布局</p>
{% endblock %}